/*
 * @FilePath: \flutter_ducafecat_news_getx\lib\pages\application\state.dart
 * @Date: 2022-07-11 14:53:48
 * @LastEditTime: 2022-07-21 15:58:00
 * @Description: 
 */
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ApplicationState {
  // 当前 tab 页码
  final _page = 0.obs;
  set page(value) => this._page.value = value;
  get page => this._page.value;

  //模拟音乐播放进度条
  RxDouble _jindu = 0.0.obs;
  set jindu(value) => _jindu.value = value;
  get jindu => _jindu.value;

  ///音乐播放和暂停
  RxBool _isPlay = true.obs;
  set isPlay(value) => _isPlay.value = value;
  get isPlay => _isPlay.value;
}
